package com.hotel.comm.bean;

import java.util.List;

/**
 * @author XuSemon
 * @since 201506018
 */
public class EnumBean {
    /**
     *
     */
    private String name;
    /**
     * 键
     */
    private String code;
    /**
     * 值
     */
    private String value;
    /**
     * 子
     */
    private List<EnumBean> childs;

    public EnumBean(String name, String code, String value) {
        this(name, code, value, null);
    }

    public EnumBean(String name, String code, String value, List<EnumBean> childs) {
        this.name = name;
        this.code = code;
        this.value = value;
        this.childs = childs;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public List<EnumBean> getChilds() {
        return childs;
    }

    public void setChilds(List<EnumBean> childs) {
        this.childs = childs;
    }
}
